﻿using MediatR;
using System.ComponentModel.DataAnnotations;
using Traceability.ErrorCode;

namespace Traceability.Write.Api.Application.Command
{
    public class UpdateEnterpriseCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int C_EnterpriseId { get; set; }
        /// <summary>
        /// 商品外键
        /// </summary>
        public int? CommodityId { get; set; }
        /// <summary>
        /// 屠宰企业信息名称
        /// </summary>
        public string? S_Name { get; set; }
        /// <summary>
        /// 公司地址
        /// </summary>
        public string? Address { get; set; }
        /// <summary>
        /// 成立时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 公司简介
        /// </summary>
        public string? Synopsis { get; set; }
    }
}
